<gm:page title="My App" authenticate="true">

  <div class="gm-app-header">
    
    <h1>My House!</h1> 
    </div>  
    
    <gm:map id="myMap" control="large" width="700px" height="500px" lat="52.899749" lng="-1.295654"
       zoom="15" data="${myList}" create="true">   <gm:handleEvent src="myList"/></gm:map>
    <gm:list id="myList" data="${app}/markers" template="myListTemplate>   <gm:handleEvent src="myMap"/>
    </gm:list>
    <gm:template id=myListTemplate">
    <table>
    <thead>
      <tr>
        <td style="width:40px"></td>
        <td style="width:70px">Name</td>
        <td style="width:45px"></td>
        </tr>
        </thead>
        <tfoot>
          <tr>
            <td colspan="2"><gm:pager /></td>
            <td><gm:create label="add" /></td>
            </tr>
            </tfoot>
            <tbody repeat="true">
              <tr>
                <td><gm:toggle /></td>
                <td><gm:text ref="atom:title" hint="Enter title" /></td>
                    <td><gm:editButtons/></td>
                      </tr>
                      </tbody>
                      </table>
       </gm:template>
    
</gm:page>